package com.pos43.domain;

import java.util.HashSet;
import java.util.Set;
import com.pos43.domain.Product;
public class ProductType {

	private Integer ptid;
	private String ptname;
	Set<Product> products = new HashSet<Product>();
	
	public ProductType() {
	}

	public ProductType(Integer ptid, String ptname, Set<Product> products) {
		this.ptid = ptid;
		this.ptname = ptname;
		this.products = products;
	}

	public Integer getPtid() {
		return ptid;
	}

	public void setPtid(Integer ptid) {
		this.ptid = ptid;
	}

	public String getPtname() {
		return ptname;
	}

	public void setPtname(String ptname) {
		this.ptname = ptname;
	}

	public Set<Product> getProducts() {
		return products;
	}

	public void setProducts(Set<Product> products) {
		this.products = products;
	}

	

	
	
}
